package com.example.demo.myModel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 获奖名单
 */
@Data
@TableName("getAward")
public class GetAward extends  BaseEntity {

    /**
     * 获奖ID，主键自增
     */
    @TableId(type = IdType.AUTO)
    private  int getAwardId;

    /**
     * 获奖学生ID ，外表user
     */
    private int ID;

    /**
     * 指导老师的id，外表teacher
     */
    private  int teacherID;

    /**
     * 赛事id,外表competition
     */
    private int competitionId;

    /**
     * 获奖的奖项
     */
    private String awards;

    /**
     * 获得时间
     */
    private LocalDateTime getTime;

}
